package com.itheima.design.mode.facade.config;

import org.springframework.util.StringUtils;

/**
 * @return splite配置文件中的白名单
 */
public class StarterService {

    private String userStr;

    public StarterService(String userStr) {
        this.userStr = userStr;
    }

    public String[] split(String separatorChar){
        return StringUtils.split(this.userStr,separatorChar);
    }
}
